package com.qingke.java.pojo;

import java.util.List;

public class OrderItem {
	private long id;
	private String amount;
	private String memo;
	private long ordermId;
	private long productId;
	private List<Product> products;
	

	public OrderItem(long id, String amount, String memo, List<Product> products) {
		super();
		this.id = id;
		this.amount = amount;
		this.memo = memo;
		this.products = products;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public long getOrdermId() {
		return ordermId;
	}

	public void setOrdermId(long ordermId) {
		this.ordermId = ordermId;
	}

	public List<Product> getProducts() {
		return products;
	}

	public void setProducts(List<Product> products) {
		this.products = products;
	}

	public long getProductId() {
		return productId;
	}

	public void setProductId(long productId) {
		this.productId = productId;
	}
	
}
